#ifndef WIDGET_SCORE_GRAPH_H
#define WIDGET_SCORE_GRAPH_H



#include "graph.h"
#include "gui.h"



/** @brief Class for showing score progress
*
*   \image html widget_score_graph.jpeg
*/
class score_graph_widget: public Plot
{
	
public:

	/** @brief Creates graph
	*	@param data scores to draw, matrix of players and scores for each player and each turn < palyers< turns > >, constraint: data != 0
	*	@param parent Qt parent
	*/
	score_graph_widget( vector< vector< double > >* data, QWidget* parent = 0 );
	//! @brief Deletes graph curves
	~score_graph_widget();


private:

	//! graph curves array
	QwtPlotCurve** players_score;
	//! number of curves
	unsigned int size;

};



#endif